package com.test.jsoup;

public class PianFang {
	public String mUrl = "";
	public String mTitle = "";
	public String mDetail = "";
	public String mGId = "";
	public String mIId = "";
	public String mId = "";
	public String toString() {
		return mGId + "-" + mIId + "-" + mUrl + "-" + mTitle + "-" + mDetail + "\n";
	}
	
	public void print() {
		System.out.println("Group = " + mGId + " , Item = " + mIId + " , title = " + mTitle 
				+ " , url = " + mUrl );
	}
	
	public String getFileName() {
		return mGId + "-" + mIId + "-" + mId +".txt";
	}
}
